n=eval(input("请输入："))
for i in range(1,n+1):
    print(" "*(n-i)+"*"*i)
for i in range(n-1,0,-1):
    print(" "*(n-i)+"*"*i)